import {defineStore} from 'pinia' ;

import {invoke} from "@tauri-apps/api";

export const useGoodsStore = defineStore("goodsStore",()=>{

    const get_goods_all = async ()=>{
        return await invoke("goods_seac_all");
    }

    return {get_goods_all}
})
